package com.gitee.wsl.common.chart.render.background.axis.model

import com.gitee.wsl.common.chart.model.PlotDataInfo

/**
 * @ClassName PlotAxisTick
 * @Description  用于记录轴刻度的位置信息
 * @author XiongChuanLiang<br/>(xcl_168@aliyun.com)
 *
 */

class PlotAxisTick(id: Int=-1, x: Float, y: Float, label: String) : PlotDataInfo(id,x,y,label) {
    var isShowTickMarks = true

    constructor( x:Float, y:Float, label:String, lx:Float, ly:Float, tickMarks:Boolean):this(x=x,y=y,label=label){
        this.labelX = lx
        this.labelY = ly
        this.isShowTickMarks = tickMarks
    }

    constructor(currentX: Float, axisY: Float, label: String) : this(x=currentX,y=axisY,label=label)
}